package network;

public class DisconnectionMsg extends NetworkMsg {

	private static final long serialVersionUID = 1L;
	private int gameId;
	private String name;

	public DisconnectionMsg(int gameId, String name){
		super(Type.Disconnection);
		this.gameId = gameId;
		this.name = name;
	}

	/**
	 * @return the gameId
	 */
	public int getGameId() {
		return gameId;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
}
